import { Request, Response } from 'express';
import { ViteDevServer } from 'vite';
import { LocalRenderBlockInfo } from '../lib/proxyHelpers.js';
import { RenderResult } from '../lib/renderComponentWithCSS.js';
import { Gate } from '@hubspot/cms-js-internal';
import { EnvironmentConfig, Hublet } from '@hubspot/cms-components';
export declare const getEntryPointBasePathFromProxyRequest: (request: any) => string;
export declare const makeProxyPreviewRequest: (accountId: number, urlToProxy: string, previewKey: string, contentId: string, projectName: string, environmentConfig: EnvironmentConfig, __jsRenderingGates: Gate[], cookieHeader?: string, localPreviewToken?: string) => any;
export declare const renderComponentForPlaceholder: (indexForThisRender: number, localRenderPlaceholder: LocalRenderBlockInfo, webRoot: string, viteServer: ViteDevServer, pageUrl: string, basePath: string, environmentConfig: EnvironmentConfig, hsProjectJsonProjectName: string, webRootProjectComponent: any) => Promise<RenderResult>;
export default function proxySpecificPage(request: Request, response: Response, portalId: number, hublet: Hublet, contentId: string, webRoot: string, viteServer: ViteDevServer, projectName: string, projectComponentPath: string, jsRenderingGates: Gate[], urlToProxy?: string, fullOriginalUrl?: string): Promise<void>;
export declare function infillReactModulesAndWriteResponse(response: any, pageHtml: any, webRoot: any, fullOriginalUrl: any, environmentConfig: any, viteServer: any, projectName: any, projectComponentPath: any, jsRenderingGates: any, prettyPrint: any): Promise<void>;
